package com.eastjet.maintenance.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 供应商表
 * @TableName device_supplier
 */
@TableName(value ="device_supplier")
@Data
public class DeviceSupplier implements Serializable {
    /**
     * 供应商编号
     */
    @TableId(type = IdType.AUTO)
    private Integer supplierId;

    /**
     * 供应商名称
     */
    private String supplierName;

    /**
     * 供应商编码(1001 1002)
     */
    private String code;

    /**
     * 供应商类型(0-设备 1-备件)
     */
    private String supplierType;

    /**
     * 供应商联系人
     */
    private String supplierPerson;

    /**
     * 供应商联系电话
     */
    private String supplierPhone;

    /**
     * 供应商微信
     */
    private String supplierWx;

    /**
     * 开户行
     */
    private String bank;

    /**
     * 银行账户
     */
    private String bankAccount;


    /**
     * 地址
     */
    private String address;
    /**
     * 供应商状态(0-启用 1-禁用)
     */
    private Integer supplierState;

    /**
     * 备注
     */
    private String supplierNoet;

    /**
     * 逻辑删除
     */
    private Integer isDelete;


    @Override
    public String toString() {
        return "DeviceSupplier{" +
                "supplierId=" + supplierId +
                ", supplierName='" + supplierName + '\'' +
                ", code='" + code + '\'' +
                ", supplierType='" + supplierType + '\'' +
                ", supplierPerson='" + supplierPerson + '\'' +
                ", supplierPhone='" + supplierPhone + '\'' +
                ", supplierWx='" + supplierWx + '\'' +
                ", bank='" + bank + '\'' +
                ", bankAccount='" + bankAccount + '\'' +
                ", address='" + address + '\'' +
                ", supplierState=" + supplierState +
                ", supplierNoet='" + supplierNoet + '\'' +
                ", isDelete=" + isDelete +
                '}';
    }
}